from django.urls import path
from . import views

urlpatterns = [
    path("", views.ToDoListView.as_view(), name="index"),
    path("items/add/", views.ItemCreate.as_view(), name="item-add"),
    path("item/<int:pk>/update/", views.change_status, name="item-update"),
    path("item/<int:pk>/delete/", views.ItemDelete.as_view(), name="item-delete"),
]